macos: be tolerant of NULL GL context
authorChristian Hergert <chergert@redhat.com>
Thu, 29 Oct 2020 16:46:02 +0000 (09:46 -0700)
committerChristian Hergert <chergert@redhat.com>
Thu, 29 Oct 2020 17:57:02 +0000 (10:57 -0700)
commitadf60fb3a10cb12115fe7599dd13f3282b79e2e4
treea6d9132db02a59edadce37ce7754e126e9ded052
parenta3fd46c516643b259351f963787bc9ece066f70f
macos: be tolerant of NULL GL context

Some code appears to unconditionally attempt to make the context current,
so this makes things tolerant to a NULL GdkGLContext and just return FALSE.
gdk/macos/gdkmacosdisplay.c